@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  box-sizing: border-box;
}
html,body{
  width: 100%;
  height: 100%;
  background-color: #ecf0f5;
  overflow: hidden;
}
#app{
  height: 100%;
  overflow: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

//vue router transition css
.fade-enter-active,
.fade-leave-active {
  transition: all .2s ease
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

//main-container全局样式
.app-main{
  min-height: 100%
}

.app-container {
  padding: 20px;
}

.svg-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
  $aside-color:#b8c7ce;
  $sd-item-h:40px !important;
.el-menu li{
  color:$aside-color;
}
.el-submenu__title {
  color: $aside-color;
  height: $sd-item-h;
  line-height: $sd-item-h;
}
.el-menu-item{
  //height: 50px;
  ////width: 146px;
  //line-height: 50px;
  //background-color: #1c2432;
  //font-size: 14px;
  //text-align: center;
  line-height: 60px;
}
.el-menu--horizontal{
  border-bottom:0
}
.el-menu--horizontal .el-menu-item{
  border-bottom:0;
  background-color: rgba(76, 34, 128,1);
}
.el-menu--horizontal .el-menu-item:hover{
  background-color: rgba(76, 34, 128,1);
}
.el-menu--horizontal>.el-menu-item.is-active{
  //color: #0facd5 !important;
  //border-bottom-color: #293447 !important;
  background-color: rgba(46, 37, 82,1) ;
  border-bottom:0;
  //background-image: url('~assets/image/menuActive.png');
}
.el-menu--horizontal>.el-menu-item.is-active:hover{
  background-color: rgba(46, 37, 82,0.95) !important;
  border-bottom: 3px solid #de531a!important;
  line-height: 57px;
}

.hp-box > div:nth-child(1){
  width: 100% !important;
}
.w194{
  width: 194px !important;
}
.el-select{
  width: 184px;
}
.el-dialog__body{
  padding: 10px 20px;
}
.el-table__row td{
  height: 22px;
  padding: 0;
  line-height: 22px;
}
.app-main{
  height: 100%;
  padding: 0  10px 0 6px;
}
#handle-position td{
  box-sizing: content-box!important;
  padding: 8px 0 !important;
}
